home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Languages / MPW Oberon 2.1168 / OExamples / TubeTest.make < prev    next >
Encoding:
Text File  |  1994-12-08  |  1.6 KB  |  52 lines  |  [TEXT/MPS ]

  1. #
  2. #    Macintosh Developer Technical Support
  3. #
  4. #    Simple Color QuickDraw Animation Sample Application
  5. #
  6. #    TubeTest
  7. #
  8. #    TubeTest.make    -    Make Source
  9. #
  10. #    Copyright © 1988 Apple Computer, Inc.
  11. #    All rights reserved.
  12. #
  13. #    Versions:    1.0                    8/88
  14. #
  15. #    Components:    TubeTest.p            August 1, 1988
  16. #                TubeTest.r            August 1, 1988
  17. #                TubeTest.make        August 1, 1988
  18. #
  19. #    The TubeTest program is a simple demonstration of how to use the Palette 
  20. #    Manager in a color program.  It has a special color palette that is associated
  21. #    with the main window.  The colors are animated using the Palette Manager 
  22. #    to give a flowing tube effect.  The program is very simple, and the Palette
  23. #    Manager and drawing parts are put in separate subroutines to make it easier
  24. #    to figure out what is happening.
  25. #    
  26. #    The program is still a complete Macintosh application with a Main Event Loop,
  27. #    so there is the extra code to run the MEL.  
  28. #    
  29. #    There is a resource file that is necessary as well, to define the Menus, Window,
  30. #    Dialog, and Palette resources used in the program.  
  31. #
  32. #    See Sample and TESample for the general structure and MultiFinder techniques that
  33. #    we recommend that you use when building a new application.
  34. #
  35. OOptions = -s {SymOptions}
  36.  
  37. .mod.o ƒ .mod
  38.     Oberon {OOptions} {DepDir}{Default}.mod -o {TargDir}{Default}.mod.o
  39.  
  40. OObjs            =    TubeTest.mod.o ∂
  41.                     "{Libraries}"Runtime.o ∂
  42.                     "{Libraries}"Interface.o ∂
  43.                     "{OLibraries}"OberonLib.o
  44.  
  45. TubeTest        ƒƒ    {OObjs} TubeTest.make
  46.         Link -o {Targ} {OObjs} {SymOptions}
  47.         SetFile {Targ} -t APPL -c '????'
  48.  
  49. TubeTest        ƒƒ    TubeTest.r TubeTest.make
  50.         Rez -rd -o {Targ} TubeTest.r -append
  51.  
  52.